package com.gitee.wsl.transform.escape.sample

import com.gitee.wsl.transform.escape.Escape
import com.gitee.wsl.transform.escape.EscapeString

object SQLiteEscape: EscapeString() {
    override val warpEntrys= listOf(
        "/" to "//",
        "'" to "''",
        "[" to "/[",
        "]" to "/]",
        "%" to "/%",
        "&" to "/&",
        "_" to "/_",
        "(" to "/(",
        ")" to "/)"
    )
}

val Escape.Companion.sqlite get() = SQLiteEscape